﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;

namespace SurfaceAd.Entities.Ad
{
    /// <summary>
    /// 文字链接广告
    /// </summary>
    [DataContract]
    internal sealed class AdResponseText
    {
        [DataMember(Name = "url")]
        public string DestinationURL { get; set; }

        [DataMember(Name = "t")]
        public string Title { get; set; }


        [DataMember(Name = "st")]
        public string SubTitle { get; set; }

        [DataMember(Name = "w")]
        public double Width { get; set; }

        [DataMember(Name = "h")]
        public double Height { get; set; }

        [DataMember(Name = "jt")]
        public string JumpType { get; set; }
        /// <summary>
        /// 如果是电话号码
        /// <para>电话号码|显示名称</para>
        /// </summary>
        [DataMember(Name = "jd")]
        public string JumpData { get; set; }
    }
}
